#ifndef __AVATAR_H__
#define __AVATAR_H__

#include <PA9.h> 


class Avatar  
{
	private:

//variable tohold various player stats
	u16 Level;
	u16 MaxHP;
	u16 CurrentHP;
	u16 Exp;
	u16 CurrentAttack;
	u16 MaxAttack;
	u16 CurrentDefense;
	u16 MaxDefense;
	u16 MaxStamina;
	u16 CurrentStamina;
	u32 Money;
	u16 MaxSpecial;
	u16 CurrentSpecial;
	
	
	public:
	
	Avatar();	//constructor
	
	void DisplayStats();
	
	u16 getLevel() {return Level;}
	
	u16 getExp() {return Exp;}
	
	u16 calculateCurrentHP();
	
	u16 calculateCurrentStamina();
	
	u16 calculateCurrentSpecial();
	
	bool staminaCheck(u16);
	
	void increaseStamina(u16);
	
	u16  getMaxStamina() {return MaxStamina;}
	
	u16  getCurrentStamina() {return CurrentStamina;}
	
	void increaseHP(u16);
	
	u16  getMaxHP() {return MaxHP;}
	
	u16	 getCurrentHP() {return CurrentHP;}
	
	void increaseSpecial(u16);
	
	bool useSpecial(u16);
	
	u16  getMaxSpecial() {return MaxSpecial;}
	
	u16  getCurrentSpecial() {return CurrentSpecial;}
	
	void attackBoost(u16);
	
	bool gotAttackBoost();
	
	void incAttackBoost(u16);
	
	void decAttackBoost(u16);
	
	u16 getCurrentAttack() {return CurrentAttack;}
	
	u16 getMaxAttack() {return MaxAttack;}
	
	void defenseBoost(u16);
	
	bool gotDefenseBoost();
	
	void incDefenseBoost(u16);
	
	void decDefenseBoost(u16);
	
	u16 getCurrentDefense() {return CurrentDefense;}
	
	u16 getMaxDefense() {return MaxDefense;}
	
	bool receiveDamage(u16);
	
	void defeatEnemy(u16, u16);
	
};

#endif


